import jinja2


async def create_message(path, file_name, response_json={}):
    templateLoader = jinja2.FileSystemLoader(searchpath=path)
    templateEnv = jinja2.Environment(loader=templateLoader)
    template = templateEnv.get_template(file_name)
    outputText = template.render(response_json)
    return outputText
